package cn.itcast.service.impl;

import java.util.List;

import cn.itcast.dao.TextBookDao;
import cn.itcast.dao.impl.TextBookDaoImpl;
import cn.itcast.service.TextBookService;
import cn.itcast.vo.TextBook;

public class TextBookServiceImpl implements TextBookService{
	private TextBookDao textBookDao;
	public TextBookServiceImpl(){
		textBookDao=new TextBookDaoImpl();
	}

	@Override
	public List<TextBook> getAllTextBook() {
		List<TextBook> list=textBookDao.getAllTextBook();
		return list;
	}

	

}
